﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using StructureMap.Attributes;
using StructureMap.Configuration.DSL;
using StructureMap.Configuration;
using StructureMap.Pipeline;

using CreateYourWorld.DataAccess;
using CreateYourWorld.Infrastructure;

namespace CreateYourWorld.Common
{
    public class PortalRegistry : Registry
    {
        public PortalRegistry()
        {
            // DataAccess
            For<IWorldRepository>().Use<WorldRepository>();

            //Infrastructure
            For<IWorldService>().Use<WorldService>();
        }
    }
}
